package org.rcy.ruicingmarket.goods;

import org.apache.ibatis.annotations.Param;
import org.rcy.framework.data.dao.BaseDao;

import java.util.List;

/**
 * @author 吴康桥
 * @Description
 * @date 2022/12/19 18:07
 */

public interface GoodsDetailDao extends BaseDao<GoodsDetail>{
    List<Long> getGoodsIdsByCondition(GoodsPageQueryRequest condition);
    GoodsDetail getByGoodsId(@Param("goodsId") Long goodsId);

    void deleteByGoodsId(@Param("goodsId") Long goodsId);
}
